//
//  UIImage+Help.h
//  MGPublic
//
//  Created by lhongl on 2025/10/17.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIImage (Help)

/// 颜色转图片
/// - Parameters:
///   - color: 颜色
+ (UIImage *)imageWithColor:(UIColor *)color;

/// 颜色转图片
/// - Parameters:
///   - color: 颜色
///   - size: 大小
+ (UIImage *)imageWithColor:(UIColor *)color size:(CGSize)size;

@end

NS_ASSUME_NONNULL_END
